import request from '@/utils/request'

// 新增文件传阅
export function createOaDocumentCirculation(data) {
  return request({
    url: '/bpm/oa-document-circulation/create',
    method: 'post',
	data
  })
}

// 获取文件传阅列表
export function getOaDocumentCirculationPage(data) {
  return request({
    url: '/bpm/oa-document-circulation/page',
    method: 'get',
	data
  })
}

// 获取文件传阅详情
export function getOaDocumentCirculation(data) {
  return request({
    url: '/bpm/oa-document-circulation/get',
    method: 'get',
	data
  })
}

// 查询文件传阅详情
  // getOaDocumentCirculation: async (id: number) => {
  //   return await request.get({ url: `/bpm/oa-document-circulation/get?id=` + id })
  // },